package com.xc.service.impl;

import com.xc.entity.ResultEntity;
import com.xc.entity.UserEntity;
import com.xc.mapper.UserMapper;
import com.xc.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired(required = true)
    private UserMapper userMapper;

    @Override
    public String getName(String name) {
        return name;
    }

    @Override
    public String login(UserEntity entity) {
        return userMapper.login(entity);
    }

    @Override
    public ResultEntity add(UserEntity entity) {
        return null;
    }

    @Override
    public ResultEntity update(UserEntity entity) {
        return null;
    }

    @Override
    public ResultEntity delete(UserEntity entity) {
        return null;
    }

    @Override
    public ResultEntity findAll(UserEntity entity) {
        return null;
    }

    @Override
    public ResultEntity findById(UserEntity entity) {
        return null;
    }

    @Override
    public ResultEntity getCount(UserEntity entity) {
        return null;
    }
}
